package cn.miju.unionpay.response;

import lombok.*;
import lombok.experimental.SuperBuilder;

/**
 * <pre>
 * 订单查询
 * </pre>
 *
 * @author zhuming
 * @version 1.0.0
 * @since 2023-03-02 16:02
 */
@Data
@ToString
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class UnionPayQueryOrderResp extends UnionPayBaseResp {
    /**
     * 商户订单号
     */
    private String outTradeNo;
    /**
     * 银联交易号
     */
    private String tradeNo;
    /**
     * 交易的订单金额，单位为元
     */
    private Integer totalAmount;
    /**
     * 交易状态：SUCCESS：交易成功 FAIL：交易失败 NOT_EXIT：交易不存在 CANCEL：交易已取消 REFUND：交易已退款
     */
    private String tradeStatus;

}
